package com.strat.searcher.lucene.querry;

import org.apache.lucene.search.Query;

public class QueryFactory {

    public static Query makeQuery(String queryString) {
        QueryAnaliser qa = QueryAnaliserFactory
                .makeQueryAnaliser(new QueryParserWrapper());
        Query query = qa.analyse(queryString);
        return query;
    }
}
